package com.diudiutechnology.www.yadiudiu.yadiudiu.model;

import java.util.List;

/**
 * Created by wangjianxiong on 2017/9/28.
 */

public class HomePageModel {


    /**
     * status : 200
     * msg : 请求成功
     * banner : [{"banner":"/Public/Uploads/2017-08-26/59a0ef53e0111.png","changetime":"3"}]
     * OrderNotice :
     * SeckillTime : [{"id":"1","starttime":"10:00:00","endtime":"11:00:00"},{"id":"2","starttime":"11:00:00","endtime":"12:00:00"},{"id":"4","starttime":"16:00:00","endtime":"17:00:00"}]
     * goods : [{"id":"1","img":"/Public/Uploads/2017-09-21/59c394428930f.jpg","subject":"聚-丸美眼霜 BB新肌雪睛眼霜 正品细纹补水保湿密集滋养眼部护理","oprice":"168.00","pprice":"99.00"},{"id":"2","img":"/Public/Uploads/2017-09-21/59c398a41071b.jpg","subject":"飞利浦剃须刀S5080男士充电式剃须刀电动刮胡刀胡须刀三刀头正品","oprice":"1199.00","pprice":"549.00"},{"id":"6","img":"/Public/Uploads/2017-09-21/59c3a102912de.jpg","subject":"OPPO A57全网通前置1600万指纹识别4G智能拍照手机oppoa57正品","oprice":"1499.00","pprice":"1399.00"}]
     * ConsumerPopulation : 0
     * TransactionAmount : 0.00
     */

    public int status;

    public String msg;

    public List<OrderNoticeBean> OrderNotice;

    public int ConsumerPopulation;

    public String TransactionAmount;

    /**
     * banner : /Public/Uploads/2017-08-26/59a0ef53e0111.png
     * changetime : 3
     */

    public List<BannerBean> banner;

    /**
     * id : 1
     * starttime : 10:00:00
     * endtime : 11:00:00
     */

    public List<SeckillTimeBean> SeckillTime;

    /**
     * id : 1
     * img : /Public/Uploads/2017-09-21/59c394428930f.jpg
     * subject : 聚-丸美眼霜 BB新肌雪睛眼霜 正品细纹补水保湿密集滋养眼部护理
     * oprice : 168.00
     * pprice : 99.00
     */

    public List<GoodsBean> goods;

    public static class BannerBean {

        public String banner;

        public String changetime;

        public String getBanner() {
            return banner;
        }

        public void setBanner(String banner) {
            this.banner = banner;
        }

        public String getChangetime() {
            return changetime;
        }

        public void setChangetime(String changetime) {
            this.changetime = changetime;
        }

        @Override
        public String toString() {
            return "BannerBean{" +
                    "banner='" + banner + '\'' +
                    ", changetime='" + changetime + '\'' +
                    '}';
        }
    }

    public static class SeckillTimeBean {

        public String id;

        public String starttime;

        public String endtime;
        public String countDown;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getStarttime() {
            return starttime;
        }

        public void setStarttime(String starttime) {
            this.starttime = starttime;
        }

        public String getEndtime() {
            return endtime;
        }

        public void setEndtime(String endtime) {
            this.endtime = endtime;
        }

        public String getCountDown() {
            return countDown;
        }

        public void setCountDown(String countDown) {
            this.countDown = countDown;
        }

        @Override
        public String toString() {
            return "SeckillTimeBean{" +
                    "id='" + id + '\'' +
                    ", starttime='" + starttime + '\'' +
                    ", endtime='" + endtime + '\'' +
                    '}';
        }
    }

    public static class GoodsBean {

        public String id;

        public String img;

        public String subject;

        public String oprice;

        public String pprice;
        public String number;
        public int Proportion;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public String getSubject() {
            return subject;
        }

        public void setSubject(String subject) {
            this.subject = subject;
        }

        public String getOprice() {
            return oprice;
        }

        public void setOprice(String oprice) {
            this.oprice = oprice;
        }

        public String getPprice() {
            return pprice;
        }

        public void setPprice(String pprice) {
            this.pprice = pprice;
        }

        public String getNumber() {
            return number;
        }

        public void setNumber(String number) {
            this.number = number;
        }

        public int getProportion() {
            return Proportion;
        }

        public void setProportion(int proportion) {
            Proportion = proportion;
        }

        @Override
        public String toString() {
            return "GoodsBean{" +
                    "id='" + id + '\'' +
                    ", img='" + img + '\'' +
                    ", subject='" + subject + '\'' +
                    ", oprice='" + oprice + '\'' +
                    ", pprice='" + pprice + '\'' +
                    '}';
        }
    }

    public static class OrderNoticeBean{
        String nickname;
        String ordername;

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getOrdername() {
            return ordername;
        }

        public void setOrdername(String ordername) {
            this.ordername = ordername;
        }
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<OrderNoticeBean> getOrderNotice() {
        return OrderNotice;
    }

    public void setOrderNotice(List<OrderNoticeBean> orderNotice) {
        OrderNotice = orderNotice;
    }

    public int getConsumerPopulation() {
        return ConsumerPopulation;
    }

    public void setConsumerPopulation(int consumerPopulation) {
        ConsumerPopulation = consumerPopulation;
    }

    public String getTransactionAmount() {
        return TransactionAmount;
    }

    public void setTransactionAmount(String transactionAmount) {
        TransactionAmount = transactionAmount;
    }

    public List<BannerBean> getBanner() {
        return banner;
    }

    public void setBanner(
            List<BannerBean> banner) {
        this.banner = banner;
    }

    public List<SeckillTimeBean> getSeckillTime() {
        return SeckillTime;
    }

    public void setSeckillTime(
            List<SeckillTimeBean> seckillTime) {
        SeckillTime = seckillTime;
    }

    public List<GoodsBean> getGoods() {
        return goods;
    }

    public void setGoods(
            List<GoodsBean> goods) {
        this.goods = goods;
    }

    @Override
    public String toString() {
        return "HomePageModel{" +
                "status=" + status +
                ", msg='" + msg + '\'' +
                ", OrderNotice='" + OrderNotice + '\'' +
                ", ConsumerPopulation=" + ConsumerPopulation +
                ", TransactionAmount='" + TransactionAmount + '\'' +
                ", banner=" + banner +
                ", SeckillTime=" + SeckillTime +
                ", goods=" + goods +
                '}';
    }

}
